import { ISystemState } from './main/systems/types'
import { IDashboradState } from './analysis/types'
export interface IRootState {
  name: string
  age: number
  entireDepartment: any[]
  entireRole: any[]
  entirMenu: any[]
}
export interface ILoginState {
  token: string
  userInfo: any
  userMenus: any
  permissions?: string[]
}
export interface IRootAndModule {
  login: ILoginState
  systems: ISystemState
  dashboard: IDashboradState
}

export type IStoreType = IRootAndModule & IRootState
